package edu.ynu.se.xiecheng.achitectureclass.entity;

import edu.ynu.se.xiecheng.achitectureclass.common.entity.LogicEntity;
import lombok.Data;
import javax.persistence.*;

/**
 * 土壤钾含量数据实体类
 */
@Data
@Entity
@Table(name = "potassium_data")
public class PotassiumData extends LogicEntity {
    @ManyToOne
    @JoinColumn(name = "device_id")
    private Device device;

    private String name;
    
    private Double value;
} 